package com.zjsd.sqeybusiness.dto;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class WxuserinfoDTO {

    /** 微信用户ID */
    private Long wxuserid;

    private String openid;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String nickname;

    /** 性别0未知1男2女 */
    @Excel(name = "性别0未知1男2女")
    private String gender;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    private String unionid;

    private String avatarurl;

    private String appid;

    private String timestamp;

    private String name ;
    private String address ;

    private Date lrtime ;

    private String lxbz ;

    private String lxflag ;

    public Long getWxuserid() {
        return wxuserid;
    }

    public void setWxuserid(Long wxuserid) {
        this.wxuserid = wxuserid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getLrtime() {
        return lrtime;
    }

    public void setLrtime(Date lrtime) {
        this.lrtime = lrtime;
    }

    public String getLxbz() {
        return lxbz;
    }

    public void setLxbz(String lxbz) {
        this.lxbz = lxbz;
    }

    public String getLxflag() {
        return lxflag;
    }

    public void setLxflag(String lxflag) {
        this.lxflag = lxflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("wxuserid", getWxuserid())
                .append("openid", getOpenid())
                .append("nickname", getNickname())
                .append("gender", getGender())
                .append("province", getProvince())
                .append("city", getCity())
                .append("phonenumber", getPhonenumber())
                .append("unionid", getUnionid())
                .append("avatarurl", getAvatarurl())
                .append("appid", getAppid())
                .append("timestamp", getTimestamp())
                .append("name",getName())
                .append("address",getAddress())
                .append("lrtime",getLrtime())
                .append("lxbz",getLxbz())
                .append("lxflag",getLxflag())
                .toString();
    }
}
